<%-- 
    Document   : Login
    Created on : 26-feb-2012, 17:17:36
    Author     : Williams
--%>

<%@page import="java.util.Date"%>
<%@page import="com.techopropio.bfh.model.Usuario"%>
<%@page import="com.techopropio.bfh.model.Solicitud"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title></title>
        <meta name="description" content="">
        <meta name="keywords" content="">
        <link href="views/style.css" rel="stylesheet" type="text/css">
    </head>
    <body>
        <table border="0" cellpadding="0" cellspacing="0" align="center" background="views/images/fondo_cabecera_usuario.png">
            <tr>
                <td height="130" align="center" width="240"><a  href="#"><img src="views/images/logo.png" width="80" height="113" border="0" alt="Usuario"></a></td>
                <td width="403">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td><img src="views/images/c1.gif" width="5" height="5" border="0" alt=""></td>
                            <td style="background: url(views/images/c_top.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                            <td><img src="views/images/c2.gif" width="5" height="5" border="0" alt=""></td>
                        </tr>
                        <tr>
                            <td style="background: url(views/images/c_left.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                            <td width="393" align="left">
                                <table border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <%
                                            Usuario usuario = (Usuario) session.getAttribute("usuario");
                                            if (usuario == null) {
                                        %>
                                        <td>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Nombre:</u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Apellidos</u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>DNI</u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Fecha y Hora</u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Otros</u></a></div>
                                        </td>
                                        <%                                        
                                            } else {
                                        %>
                                        <td>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Nombre: <%= usuario.getNombres()%></u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Apellidos: <%= usuario.getApellidoP()%> <%= usuario.getApellidoM()%></u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>DNI: <%= usuario.getDni()%></u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Fecha y Hora: <%= (new Date()).toString()%></u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Otros</u></a></div>
                                        </td>

                                        <%
                                            }
                                        %>
                                    </tr>
                                </table>
                            </td>
                            <td style="background: url(views/images/c_right.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                        </tr>
                        <tr>
                            <td><img src="views/images/c4.gif" width="5" height="5" border="0" alt=""></td>
                            <td style="background: url(views/images/c_bot.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                            <td><img src="views/images/c3.gif" width="5" height="5" border="0" alt=""></td>
                        </tr>
                    </table>
                </td>
                <td><img src="views/images/spacer.gif" width="5" height="1" border="0" alt=""></td>
            </tr>
        </table>




        <table border="0" cellpadding="0" cellspacing="0" align="center">
            <tr>
                <td><img src="views/images/menu_left.gif" width="7" height="40" border="0" alt=""></td>
                <td width="635" style="background: url(views/images/menu_bg.gif)">

                    <%--
                                        <table border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                            <form>


                            <td><img src="views/images/menu_line.gif" width="2" height="29" border="0" alt="" hspace="50"></td>			
                            <td><div class="aw"></div> <div class="mw"><a class="aw">Buscar Persona por DNI</a></div></td>
                            <td><img src="views/images/menu_line.gif" width="" height="29" border="0" alt="" hspace="13"></td>

                            <td><div style="padding: 0 6px 0 7px"><input type="text" name="search" size="40" maxlength="256" class="arch" value="buscar"></div></td>
                            <td><input type="image" src="views/images/menu_go.gif" border="0" width="38" height="28" alt=""></td>
                        </form>
            </tr>
        </table>
                    --%>
                </td>
                <td><img src="views/images/menu_right.gif" width="6" height="40" border="0" alt=""></td>
            </tr>
        </table>
        <div><img src="views/images/spacer.gif" width="1" height="7" border="0" alt=""></div>



        <table border="0" cellpadding="0" cellspacing="0" align="center">
            <tr>


                <td><img src="views/images/spacer.gif" width="4" height="1" border="0" alt=""></td>
                <td valign="top">

                    <div><img src="views/images/spacer.gif" width="1" height="3" border="0" alt=""></div>
                    <table border="0" cellpadding="0" cellspacing="0"  style="background: url(views/images/left_bg.gif)">
                        <tr>
                            <td><img src="views/images/left_left.gif" width="21" height="29" border="0" alt=""></td>
                            <td><img src="views/images/spacer.gif" width="7" height="1" border="0" alt=""></td>
                            <td width="350"><div class="lb"></div> <div class="lw">LISTA DE POSTULANTES AL BONO FAMILIAR HABITACIONAL</div></td>
                            <td><img src="views/images/left_right.gif" width="6" height="29" border="0" alt=""></td>
                        </tr>
                    </table>
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="background: url(views/images/c_left.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                            <td width="635" align="center">
                                <div><img src="views/images/spacer.gif" width="1" height="12" border="0" alt=""></div>

                                <table border="0" cellpadding="0" cellspacing="0">
                                    <tr>


                                    </tr>
                                    <tr>
                                        <td style="background: url(views/images/bg_hor.gif) repeat-x center"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                                        <td><img src="views/images/spacer.gif" width="1" height="19" border="0" alt=""></td>
                                        <td style="background: url(views/images/bg_hor.gif) repeat-x center"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                                    </tr>
                                    <tr>

                                    </tr>
                                </table>

                                <table width="600" border="1">
                                    <tr>
                                        <td><a class="item_name" >DNI</a></td>
                                        <td><a class="item_name" >Nombres y Apellidos</a></td>
                                        <td><a class="item_name" >Fecha de Envío</a></td>                                    
                                        <td><a class="item_name" >Puntaje</a></td>
                                    </tr>
                                </table>
                                <div><img src="views/images/spacer.gif" width="1" height="14" border="0" alt=""></div>
                                <table width="550" border="1" align="center">
                                    <%
                                        List<Solicitud> list = (List<Solicitud>) session.getAttribute("list");
                                        for (Solicitud solicitud : list) {
                                    %>
                                    <tr>
                                        <td> <a class="item_price"><%= solicitud.getUser().getDni()%>  </a></td>
                                        <td><a class="item_price" ><%= solicitud.getUser().getNombres()%> <%= solicitud.getUser().getApellidoP()%> <%= solicitud.getUser().getApellidoM()%></a></td>
                                        <td><a class="item_price" ><%= solicitud.getFechaInscripcion().toString()%></a></td>
                                        <td><a class="item_name" ><%= solicitud.getPuntajeObtenido()%></a></td>
                                    </tr>                            
                                    <%
                                        }
                                    %>
                                </table>


                                <div><img src="views/images/spacer.gif" width="1" height="14" border="0" alt=""></div>
                                <table width="257" border="0" align="center">
                                    <tr>
                                    <form method="post">
                                        <td width="124"><input type="submit"  name="salir" value="salir"/></td>
                                    </form>
                        </tr>
                    </table>

                    <div><img src="views/images/spacer.gif" width="1" height="14" border="0" alt=""></div>
                </td>
                <td style="background: url(views/images/c_right.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
            </tr>
            <tr>
                <td><img src="views/images/c4.gif" width="5" height="5" border="0" alt=""></td>
                <td style="background: url(views/images/c_bot.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                <td><img src="views/images/c3.gif" width="5" height="5" border="0" alt=""></td>
            </tr>
        </table>
    </td>
</tr>
</table>


<div><img src="views/images/spacer.gif" width="1" height="9" border="0" alt=""></div><table border="0" cellpadding="0" cellspacing="0" style="background: #767F82" width="647" align="center">	<tr>		<td><img src="views/images/bot_left.gif" width="3" height="7" border="0" alt=""></td>		<td align="right"><a href="views/images/img.html"><img src="views/images/bot_right.gif" width="4" height="7" border="0" alt=""></a></td>	</tr></table>
<div><img src="views/images/spacer.gif" width="1" height="6" border="0" alt=""></div>

<table border="0" cellpadding="0" cellspacing="0" width="647" align="center">
    <tr>
        <td></td>
        <td align="right" valign="top"><div class="top11">Copyright © 2012 UNMSM <b>Diseñado Por <a href="#" class="top11">Software</a></b><br>
                <a href="#" class="top11">Website </a> por <a href="#" class="top11">Software</a>
            </div></td>
    </tr>
</table>
<div><img src="views/images/spacer.gif" width="1" height="42" border="0" alt=""></div>
<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
    var sc_project=1952940; 
    var sc_invisible=1; 
    var sc_partition=17; 
    var sc_security="fa1db912"; 
</script>

<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://icetemplates.com/" target="_blank"><img  src="http://c18.statcounter.com/counter.php?sc_project=1952940&amp;java=0&amp;security=fa1db912&amp;invisible=1" alt="website templates" border="0"></a> </noscript>
<!-- End of StatCounter Code -->
</body>
</html>
